package org.hardstone.domain.doc.resource;

import jakarta.persistence.*;
import org.hardstone.domain.BaseItemDomain;
import org.hardstone.domain.BaseCategory;
import org.hardstone.domain.Status;

@Entity
@Table(name = "Written")
public class Written extends BaseItemDomain<Long> {

    @Column(name = "Written")
    private String written;
    @Column(name = "WrittenSpecification")
    private String writtenSpecification;
    @Column(name = "WrittenType")
    private String writtenType;
    @Column(name = "WrittenFormat")
    private String writtenFormat;
    @Column(name = "WrittenSize")
    private Long writtenSize;
    @Column(name = "WrittenDuration")
    private Long writtenDuration;
    @Column(name = "WrittenResolution")
    private String writtenResolution;
    @Column(name = "WrittenOrientation")
    private String writtenOrientation;

    public Written(String written, String writtenSpecification, String writtenType, String writtenFormat, Long writtenSize, Long writtenDuration, String writtenResolution, String writtenOrientation) {
        this.written = written;
        this.writtenSpecification = writtenSpecification;
        this.writtenType = writtenType;
        this.writtenFormat = writtenFormat;
        this.writtenSize = writtenSize;
        this.writtenDuration = writtenDuration;
        this.writtenResolution = writtenResolution;
        this.writtenOrientation = writtenOrientation;
    }

    public Written(Long id, Long itemGroupId, String name, BaseCategory category, Long userId, Long userGroupId, int authority, String url, String description, Status status, String askDate, String modifyDate, String tags, String attribute, String written, String writtenSpecification, String writtenType, String writtenFormat, Long writtenSize, Long writtenDuration, String writtenResolution, String writtenOrientation) {
        super(id, itemGroupId, name, category, userId, userGroupId, authority, url, description, status, askDate, modifyDate, tags, attribute);
        this.written = written;
        this.writtenSpecification = writtenSpecification;
        this.writtenType = writtenType;
        this.writtenFormat = writtenFormat;
        this.writtenSize = writtenSize;
        this.writtenDuration = writtenDuration;
        this.writtenResolution = writtenResolution;
        this.writtenOrientation = writtenOrientation;
    }

    public Written() {
    }

    public Written(Long id, Long itemGroupId, String name, BaseCategory category, Long userId, Long userGroupId, int authority, String url, String description, Status status, String askDate, String modifyDate, String tags, String attribute) {
        super(id, itemGroupId, name, category, userId, userGroupId, authority, url, description, status, askDate, modifyDate, tags, attribute);
    }

    public String getWritten() {
        return written;
    }

    public void setWritten(String written) {
        this.written = written;
    }

    public String getWrittenSpecification() {
        return writtenSpecification;
    }

    public void setWrittenSpecification(String writtenSpecification) {
        this.writtenSpecification = writtenSpecification;
    }

    public String getWrittenType() {
        return writtenType;
    }

    public void setWrittenType(String writtenType) {
        this.writtenType = writtenType;
    }

    public String getWrittenFormat() {
        return writtenFormat;
    }

    public void setWrittenFormat(String writtenFormat) {
        this.writtenFormat = writtenFormat;
    }

    public Long getWrittenSize() {
        return writtenSize;
    }

    public void setWrittenSize(Long writtenSize) {
        this.writtenSize = writtenSize;
    }

    public Long getWrittenDuration() {
        return writtenDuration;
    }

    public void setWrittenDuration(Long writtenDuration) {
        this.writtenDuration = writtenDuration;
    }

    public String getWrittenResolution() {
        return writtenResolution;
    }

    public void setWrittenResolution(String writtenResolution) {
        this.writtenResolution = writtenResolution;
    }

    public String getWrittenOrientation() {
        return writtenOrientation;
    }

    public void setWrittenOrientation(String writtenOrientation) {
        this.writtenOrientation = writtenOrientation;
    }
}
